package com.vehicle.service;

import com.vehicle.domains.bo.QueryCommonVehicleBo;
import com.vehicle.domains.entity.CommonVehicleEntity;

import java.util.List;

public interface CommonVehicleService {
    void addCommonVehicle(CommonVehicleEntity commonVehicleEntity);

    void updateCommonVehicle(CommonVehicleEntity updateEntity);

    CommonVehicleEntity getCommonVehicleById(Long id);

    void deleteCommonVehicle(Long id);

    List<CommonVehicleEntity> selectCommonVehicleList(QueryCommonVehicleBo queryCommonVehicleBo);

    CommonVehicleEntity getCommonVehicleByAssociationId(Long id);

    CommonVehicleEntity getCommonVehicleByVehicleNumber(String vehicleNumber);
}
